package testng;

import org.testng.ITest;

public class ExpectedProp{

	public int size;
	public int weight;

	public static ExpectedProp returnExpectedProp(Generator g) {
		ExpectedProp expectedProp = new ExpectedProp();
		switch (g) {
		case gen1:
			expectedProp.size = 2;
			expectedProp.weight = 2;
			break;
		case grn2:
			expectedProp.size = 6;
			expectedProp.weight = 5;
			break;
		case gen3:
			expectedProp.size = 10;
			expectedProp.weight = 10;
			break;
		}

		return expectedProp;
	}

}

enum Generator {
	gen1, grn2, gen3
}
